package lab02.test14;

public class Test14 {
    public static void main(String[] args) {

        //矩形输出
        Rectangle rectangle = new Rectangle();
        rectangle.width = 3;
        rectangle.height = 4;

        System.out.println(rectangle.getArea());

        //圆形输出
        Circle circle = new Circle();
        circle.radius = 3;

        System.out.println(circle.getArea());
    }
}
